package com.jdjw.modules.buscomplaint.mapper;

import com.jdjw.modules.buscomplaint.entity.BusComplaint;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdjw.modules.thirdpost.param.ThirdPostInParm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 群众投诉表 Mapper 接口
 * </p>
 *
 * @author fq
 * @since 2021-06-10
 */
public interface BusComplaintMapper extends BaseMapper<BusComplaint> {

    String getOrgId(@Param("org_name") String org_name);

    String getDeptId(@Param("dept_name") String dept_name,@Param("org_id") String org_id);

    List<BusComplaint> selectListCha(ThirdPostInParm thirdPostInParm);

    List<BusComplaint> selectListFu(ThirdPostInParm thirdPostInParm);

    List<BusComplaint> selectListBan(ThirdPostInParm thirdPostInParm);
}
